package com.merry.gulimail.product.dao;

import com.merry.gulimail.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
 * 商品三级分类
 * 
 * @author merry-zyb
 * @email sunlightcs@gmail.com
 * @date 2022-05-05 22:04:10
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

    List<ArrayList<ArrayList<CategoryEntity>>> retrieveAllCategory();

    List<CategoryEntity> selectByParentId(Long item);
}
